﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DMS.Business.Workflow
{
    public class ActionResult : Dictionary<string,object>
    {
        public bool Success { get; set; }

        public string Message { get; set; }

        public Exception Error { get; set; }


        public static ActionResult NewSuccessResult()
        {
            var result = new ActionResult {Success = true};

            return result;
        }

    }
}
